//
//  GirlFriend.swift
//  GF
//
//  Created by gaoyi on 2017/9/18.
//  Copyright © 2017年 gaoyi. All rights reserved.
//

import Foundation
class GirlFirend: NSObject {
    var name:String = ""
    var age :Int = 0
    override init() {
        name = String(format: "%c%c%c", 65 + arc4random())
        age = Int( arc4random() % 10 + 18 )
    }

    override var description: String{
        return "姓名:\(name) \t,年龄:\(age)"
    }
    
    func dateWith() {
        print("date with \(name),she is \(age) years old")
    }
}
